package com.szqhyxj.youxiangju.biz.plan;

public enum PlanStatus {

    PREVIEW(0, "预览"),
    RUNNING(1, "执行中"),
    PAUSED(2, "暂停"),
    FAIL(3, "失败"),
    SUCCESS(4, "成功");

    private int code;
    private String desc;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    PlanStatus(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
